package com.agileboot.attendance.domain.acceptance.entity;

import com.agileboot.common.core.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 验收单实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("att_acceptance")
public class AttAcceptanceEntity extends BaseEntity {
    
    /**
     * 验收单ID
     */
    @TableId
    private Long acceptanceId;

    /**
     * 项目ID
     */
    @TableField("project_id")
    private Long projectId;

    /**
     * 验收标题
     */
    @TableField("title")
    private String title;

    /**
     * 验收内容
     */
    @TableField("content")
    private String content;

    /**
     * 验收金额
     */
    @TableField("amount")
    private BigDecimal amount;

    /**
     * 验收时间
     */
    @TableField("acceptance_time")
    private LocalDateTime acceptanceTime;

    /**
     * 验收状态（0待验收 1已验收 2验收不通过）
     */
    @TableField("status")
    private Integer status;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;
} 